package fr.ece.ing4.demo.thread3;

import java.math.BigInteger;

public final class ValueBean {

	private boolean isFinal;
	private BigInteger value;

	public ValueBean(boolean isFinal, BigInteger value) {
		this.setFinal(isFinal);
		this.setValue(value);
	}

	public ValueBean() {
	}

	public BigInteger getValue() {
		return value;
	}

	public void setValue(BigInteger value) {
		this.value = value;
	}

	public boolean isFinal() {
		return isFinal;
	}

	public void setFinal(boolean isFinal) {
		this.isFinal = isFinal;
	}

}
